home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / PlayerPRO 4.5.1 / Plug-Ins / Import⁄Export Plugs / S3M.h < prev    next >
Text File  |  1995-05-20  |  1KB  |  64 lines

  1. #ifndef COMPIL68K 
  2. #pragma options align=mac68k
  3. #endif
  4.  
  5. typedef struct s3mform
  6. {
  7.     char                     name[28];
  8.     char                     sig1;
  9.     char                     type;
  10.     char                sig2[2];
  11.     short              ordernum;
  12.     short               insnum;
  13.     short                  patnum;
  14.     short                  flags;
  15.     short                 cwtv;
  16.     short                  ffv;
  17.     char                     s3msig[4];
  18.     unsigned char         mastervol;
  19.     unsigned char        initialspeed;
  20.     unsigned char        initialtempo;
  21.     unsigned char        mastermul;
  22.     char                     sig3[12];
  23.     unsigned char        chanset[32];
  24.     unsigned char          *orders;
  25.     unsigned short        *parapins;
  26.     unsigned short        *parappat;
  27.     struct s3minsform    *insdata;
  28. } s3mform;
  29.  
  30. typedef struct s3mPatform
  31. {
  32.     Byte    note;        // hi = oct, lo = note
  33.     Byte    intru;
  34.     Byte    vol;
  35.     Byte    SpecialCom;
  36.     Byte    ComArg;
  37. } s3mPatform;
  38.  
  39. typedef struct s3minsform
  40. {
  41.     unsigned char        instype;
  42.     unsigned char        insdosname[12];
  43.     unsigned char        inssig1;
  44.     unsigned short        insmemseg;
  45.     unsigned long        inslength;
  46.     unsigned long        insloopbeg;
  47.     unsigned long        insloopend;
  48.     unsigned char        insvol;
  49.     unsigned char        insdsk;
  50.     unsigned char        inspack;
  51.     unsigned char        insflags;
  52.     unsigned short        insloc2spd;
  53.     unsigned short        inshic2spd;
  54.     unsigned char        inssig2[4];
  55.     unsigned short        insgvspos;
  56.     unsigned short        insint512;
  57.     unsigned long        insintlastused;
  58.     unsigned char        insname[28];
  59.     unsigned long        inssig;
  60. } s3minsform;
  61.                
  62. #ifndef COMPIL68K        
  63. #pragma options align=power
  64. #endif